package com.adcc.loadsheet.billing.mapper.mysql;

import com.adcc.loadsheet.billing.entity.ScAirportEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 机场Mapper
 * Created by zhaoml on 2020-04-13.
 */
@Mapper
public interface ScAirportEntityMapper {

    //根据条件获取机场
    List<ScAirportEntity> select(Map<String, Object> map);

    //根据主键ID查询
    ScAirportEntity selectByPrimaryKey(Integer id);

    //根据合同用户查询用户名称
    List<String> selectAirportNamesByContractUserId(Integer contractUserId);

    //根据机场id查询机场名称
    List<String> selectAirportNamesByIds(String ids);
}